package com.kujawnode.constant;

/**
 * @version 1.0
 * @Author kujaw
 * @Date 2025/7/10 21:21
 * @注释
 */
public class Constants {

    public static final String LOGIN_URI = "/api/login";

    public static final String REDIS_JWT_KEY = "dlyk:user:login:";

    public static final String TOKEN_NAME = "Authorization";

    public static final String REDIS_OWNER_KEY = "dlyk:user:owner";

    public static final int PAGE_SIZE = 10;
    //jwt过期时间七天
    public static final Long EXPIRE_TIME = 7 * 24 * 60 * 60L;

    //jwt过期时间30min
    public static final Long DEFAULT = 30 * 60L;
    // public static final String DATA_ACCESS_EXCEPTION = "数据库访问异常";
}
